/**
 * 
 */
package qjs.com.vn.action;

import qjs.com.vn.model.DonVi;
import qjs.com.vn.service.DonViService;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * @author WIN7
 *
 */
public class DonViAction extends ActionSupport implements ModelDriven<Object> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -9144289500687670697L;
	DonVi donVi = new DonVi();
	DonViService donViService;
	
	/**
	 * @param donViService the donViService to set
	 */
	public void setDonViService(DonViService donViService) {
		this.donViService = donViService;
	}

	@Override
	public Object getModel() {
		// TODO Auto-generated method stub
		return donVi;
	}

}
